package com.books.service;

import com.books.mapper.userInfoMapper;
import com.books.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private userInfoMapper userInfoMapper;

    public UserInfo queryUserInfoByName(String name){
       return userInfoMapper.queryUserInfoByName(name);
    }


}
